home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio / Ray Dream Studio (CDRAYD1) (Ray Dream) (1995).iso / DREAMSDK.WIN / INCLUDE / I3DEXGEL.H < prev    next >
C/C++ Source or Header  |  1995-09-01  |  2KB  |  55 lines

  1. /* $Id: i3dexgel.h 1.1 1995/06/27 15:07:59 YannPC Exp $ */
  2. /*****************************************************************************\
  3. *                                                                             *
  4. * I3DExGel.h -     I3DExLightsourceGel definition                                               *
  5. *                                                                             *
  6. *           Copyright (c) 1995, Ray Dream, Inc. All rights reserved.          *
  7. *                                                                             *
  8. \*****************************************************************************/
  9.  
  10. #ifndef __I3DEXGEL__
  11. #define __I3DEXGEL__
  12.  
  13. #ifndef __I3DEX__
  14. #include "I3DEx.h"
  15. #endif
  16.  
  17.  
  18. //****** Globally Unique Ids *************************************************
  19.  
  20. DEFINE_GUID(IID_I3DExLightsourceGel, 0xA1098680L, 0x3A02, 0x101C, 0x88, 0x5F, 0x04, 0x02, 0x1C, 0x00, 0x70, 0x02);
  21.  
  22. /*****************************************************************************\
  23. *  I3DExLightsourceGel                                                        *
  24. *                                                                             *
  25. *  Light Sources gels                                                         *
  26. *                                                                             *
  27. \*****************************************************************************/
  28.  
  29. #undef  INTERFACE
  30. #define INTERFACE   I3DExLightsourceGel
  31.  
  32. DECLARE_INTERFACE_(I3DExLightsourceGel, I3DExDataExchanger) {
  33.     // IUnknown methods
  34.   STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  35.   STDMETHOD_(ULONG, AddRef) (THIS) PURE;
  36.   STDMETHOD_(ULONG, Release) (THIS) PURE;
  37.   
  38.     // I3DExtension methods
  39.     STDMETHOD_(I3DExtension*, Clone) (THIS) PURE;
  40.     STDMETHOD(ShellUtilitiesInit) (THIS_ IShUtilities* shellUtilities) PURE;
  41.  
  42.   // I3DExDataExchanger methods
  43.     STDMETHOD_(ExtensionDataMap*, GetExtensionDataMap) (THIS) PURE;
  44.     STDMETHOD_(void*, GetExtensionDataBuffer) (THIS) PURE;
  45.   STDMETHOD(ExtensionDataChanged) (THIS) PURE;
  46.   STDMETHOD(HandleEvent) (THIS_ ULONG sourceID) PURE;
  47.     STDMETHOD_(short, GetResID) (THIS) PURE;
  48.   
  49.   // I3DExLightsourceGel methods
  50.     STDMETHOD_(BOOLEAN, GetGelValues) (THIS_ VECTOR2D* gelScreenPosition, COLOR3D* result) PURE;
  51.     };
  52.  
  53.  
  54. #endif
  55.